<?php
class TBB_View_Helper_CustomerName extends Zend_View_Helper_Abstract
{
	public function customerName($username)
	{
		$customerModel = new Customer_Model_Customer();
		$customerName = $customerModel->getCustomerNameByUsername($username);		
		if($customerName) {
			return htmlspecialchars($customerName);
		}
		return 'Không có';
	}
}